package com.sri.model.search;

public class Search {
	/** property - country */
	private String country;

	/** property - state */
	private String state;

	private int stateId;

	/** property - city */
	private String city;

	private int cityId;

	/** property - location */
	private String location;

	/** property - rent Range */
	private Integer rentRange;

	/** property - maximum rent Range */
	private Integer maxRent;

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public int getStateId() {
		return stateId;
	}

	public void setStateId(int stateId) {
		this.stateId = stateId;
	}

	public Integer getRentRange() {
		return rentRange;
	}

	public void setRentRange(Integer rentRange) {
		this.rentRange = rentRange;
		this.maxRent = rentRange + 1000; // TODO get it from constants file
	}

	public Integer getMaxRent() {
		return maxRent;
	}

	public void setMaxRent(Integer maxRent) {
		this.maxRent = maxRent;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

}
